@echo off
chcp 65001 >nul
title AI VTuber - Interactive Test

color 0B

echo.
echo ======================================================================
echo            AI VTuber - Interactive Mode (Auto Start)
echo ======================================================================
echo.
echo Configuration:
echo   Voice: Girl Voice (Seed 5201)
echo   Mode: Interactive (Auto Selected)
echo   Live2D: Auto Open
echo.

cd /d "%~dp0"

REM Check dependencies
python -c "import yaml" >nul 2>&1
if errorlevel 1 (
    echo Installing dependencies...
    pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
    if errorlevel 1 (
        echo Failed to install dependencies!
        pause
        exit /b 1
    )
    echo.
)

echo Starting...
echo.

REM Auto input "2" to select interactive mode
echo 2 | python test_local_enhanced.py

if errorlevel 1 (
    echo.
    echo Start failed!
    echo.
    pause
)
